package com.fortune.rainshineservice.service;

import com.fortune.rainshinecommon.base.MsgModel;
import com.fortune.rainshinecommon.base.ParmsModel;
import com.fortune.rainshinecommon.model.ShopModel;
import com.fortune.rainshinecommon.model.system.User;
import com.fortune.rainshinecommon.query.ShopQuery;

import java.util.List;

public interface IShopService {
    MsgModel createShop(ShopModel shopModel);

    MsgModel updateShop(ShopModel shopModel);

    MsgModel shopList(ParmsModel parms);

    MsgModel delShop(ShopModel shopModel);

    MsgModel stopShop(ShopModel shopModel, String userName);

    List<ShopModel> getShopsByUserId(Integer userId);

    MsgModel getShopInfoById(Integer shopId);

    MsgModel appGetUserShopList(ShopQuery query);

    List<ShopModel> getMapShops(String cityCode);

    ShopModel getShopByShopId(Integer shopId);

	List<ShopModel> getShopByShopLevel(Integer shopLevel);

	List<ShopModel> getShopByMerchantsId(Integer merchantsId);

    MsgModel getServiceRecordShops(ParmsModel parm);

	ShopModel getByShopName(String name);

    MsgModel getShopsByMerchants(ParmsModel parm);

    MsgModel getAllLevel3Shops(ParmsModel parm);

	List<ShopModel> getShopsByUserId2(Integer userId);

    List<User> getAllUsersByShopId(Integer shopId);
}
